package io.renren.service.impl;

import io.renren.dao.VEmpInfoDao;
import io.renren.entity.VEmpAllinfoEntity;
import io.renren.entity.VEmpInfoEntity;
import io.renren.entity.VOfficeEntity;
import io.renren.service.EmpInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("empInfoService")
public class EmpInfoServiceImpl implements EmpInfoService {
	@Autowired
	private VEmpInfoDao vEmpInfoDao;
	
	@Override
	public VEmpInfoEntity queryObject(Integer id){
		return vEmpInfoDao.queryObject(id);
	}
	
	@Override
	public List<VEmpInfoEntity> queryList(Map<String, Object> map){
		return vEmpInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return vEmpInfoDao.queryTotal(map);
	}
	

	@Override
	public List<VEmpInfoEntity> queryPopList(Map<String, Object> map){
		return vEmpInfoDao.queryList(map);
	}

	@Override
	public int queryPopTotal(Map<String, Object> map){
		return vEmpInfoDao.queryTotal(map);
	}

	@Override
	public List<VEmpAllinfoEntity> queryInfoList(Map<String, Object> map){
		return vEmpInfoDao.queryInfoList(map);
	}

	@Override
	public int queryAllTotal(Map<String, Object> map){
		return vEmpInfoDao.queryAllTotal(map);
	}

	@Override
	public List<VOfficeEntity> queryVoffice(Map<String, Object> map){
		return vEmpInfoDao.queryVoffice(map);
	}

	@Override
	public int queryVofficeTotal(Map<String, Object> map){
		return vEmpInfoDao.queryVofficeTotal(map);
	}


}
